package io.jpress.addon.securityinformation.service.provider;

import com.jfinal.aop.Before;
import com.jfinal.plugin.activerecord.tx.Tx;
import io.jboot.aop.annotation.Bean;
import io.jpress.addon.securityinformation.service.JpressAddonSecurityinformationSrdDeviceIdentificationService;
import io.jpress.addon.securityinformation.model.JpressAddonSecurityinformationSrdDeviceIdentification;
import io.jboot.service.JbootServiceBase;

@Bean
public class JpressAddonSecurityinformationSrdDeviceIdentificationServiceProvider extends JbootServiceBase<JpressAddonSecurityinformationSrdDeviceIdentification> implements JpressAddonSecurityinformationSrdDeviceIdentificationService {

    @Before(Tx.class)
    @Override
    public Object save(JpressAddonSecurityinformationSrdDeviceIdentification model) {
        return super.save(model);
    }
}
